package com.lovestudying.entity;

import java.util.List;

/**
 * 课程实体类
 * 
 * @author OldDeer
 *
 */
public class Course {
	/**
	 * 课程uuid
	 */
	private String course_id;
	/**
	 * 课程标题（课程名）
	 */
	private String course_title;
	/**
	 * 任课教师
	 */
	private Teacher teacher;
	/**
	 * 价格
	 */
	private Double course_price;
	/**
	 * 创建时间
	 */
	private String course_create_time;
	/**
	 * 支付方式
	 */
	private Integer pay_type;
	/**
	 * 标签List
	 */
	private List<Tab> Tab_list;
	private String course_introdu;
	private String course_pic;

	public Course() {
		super();
	}

	public Course(String course_id, String course_title, Teacher teacher, Double course_price,
			String course_create_time, Integer pay_type, List<Tab> tab_list, String course_introdu, String course_pic) {
		super();
		this.course_id = course_id;
		this.course_title = course_title;
		this.teacher = teacher;
		this.course_price = course_price;
		this.course_create_time = course_create_time;
		this.pay_type = pay_type;
		Tab_list = tab_list;
		this.course_introdu = course_introdu;
		this.course_pic = course_pic;
	}

	public String getCourse_id() {
		return course_id;
	}

	public void setCourse_id(String course_id) {
		this.course_id = course_id;
	}

	public String getCourse_title() {
		return course_title;
	}

	public void setCourse_title(String course_title) {
		this.course_title = course_title;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Double getCourse_price() {
		return course_price;
	}

	public void setCourse_price(Double course_price) {
		this.course_price = course_price;
	}

	public String getCourse_create_time() {
		return course_create_time;
	}

	public void setCourse_create_time(String course_create_time) {
		this.course_create_time = course_create_time;
	}

	public Integer getPay_type() {
		return pay_type;
	}

	public void setPay_type(Integer pay_type) {
		this.pay_type = pay_type;
	}

	@Override
	public String toString() {
		return "Course [course_id=" + course_id + ", course_title=" + course_title + ", teacher=" + teacher
				+ ", course_price=" + course_price + ", course_create_time=" + course_create_time + ", pay_type="
				+ pay_type + ", Tab_list=" + Tab_list + ", course_introdu=" + course_introdu + ", course_pic="
				+ course_pic + "]";
	}

	public List<Tab> getTab_list() {
		return Tab_list;
	}

	public void setTab_list(List<Tab> tab_list) {
		Tab_list = tab_list;
	}

	public String getCourse_pic() {
		return course_pic;
	}

	public void setCourse_pic(String course_pic) {
		this.course_pic = course_pic;
	}

	public String getCourse_introdu() {
		return course_introdu;
	}

	public void setCourse_introdu(String course_introdu) {
		this.course_introdu = course_introdu;
	}

}
